#include "priority_queue.h"

int main()
{
	my_PQue::priority_queue<int> pq;
	pq.push(1);
	pq.push(2);
	pq.push(4);
	pq.push(3);
	while (!pq.empty())
	{
		std::cout << pq.top() << std::endl;
		pq.pop();
	}

	int arr[4] = { 1, 2, 3, 4 };
	my_PQue::priority_queue<int> pq1(arr, arr + 4);
	while (!pq1.empty())
	{
		std::cout << pq1.top() << std::endl;
		pq1.pop();
	}

	return 0;
}